﻿@page "/"
@using System.Net.Http.Json
<PageTitle>ChatGPT 网页客户端 登录</PageTitle>

<h1 class="text-center my-5">欢迎使用</h1>

<div class="d-flex justify-content-center" style="width:stretch">
    <div class="card w-50 p-3">
        <div class="card-header text-center">
            <h4 class="mb-0">登录</h4>
        </div>

        <div class="card-body">
            <form>
                <div class="form-group mb-3">
                    <label for="modelSelect">模型</label>
                    <select class="form-control" id="modelSelect"></select>
                </div>

                <div class="form-group mb-3">
                    <label for="usernameInput">用户名</label>
                    <input type="text" class="form-control" id="usernameInput">
                </div>

                <div class="form-group mb-3">
                    <label for="passwordInput">密码</label>
                    <input type="password" class="form-control" id="passwordInput">
                </div>

                <div class="form-group">
                    <button type="submit" class="btn btn-primary">登录</button>
                    <a href="/register" class="btn btn-link">注册</a>
                </div>
            </form>
        </div>
    </div>
</div>

<SurveyPrompt Title="了解更多?" />
